@layout("/common/head.html"){
<body>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>表单</legend>
</fieldset>
<form class="layui-form" action="">
    <input type="hidden" id="id" name="id" value="${id}"/>
    <#input inputName="排序" id="num" name="num" value="${num}" required="required"/>
    <#input inputName="父级字典" id="pid" name="pid" value="${pid}" required="required"/>
    <#input inputName="名称" id="name" name="name" value="${name}" required="required"/>
    <#input inputName="值" id="code" name="code" value="${code}" required="required"/>
    <#button btName="添加" filter="edit"/>
</form>
<script src="${ctxPath}/static/modules/sys/dict/dict_edit.js"></script>
</body>
@}